Model Table CURRENCY RATES

This model fact represents currency rates primarily used to calculate amounts in reporting currency. It is based on the core fact FACT_CURRENCY_RATES that is in the ETL process is used as source to create a new fact called FACT_REPORTING_CURRENCY_RATES. In order to retrieve rates for different base currencies it is necessary to set up a reference rate type. This is done in the specific configuration table LUP_REP_CURR_RATE_TYPE_TC_TAB. It is only possible to select one rate type in one company with the purpose to get one single rate table to find the currency rates related to reporting currency.

The transformation step will add the reference currency related to the defined currency rate type and there will also be a calculation of an adjusted rate that takes into account the conversion factor and if the rates are using inverted quotation or not. The adjusted rate can be used directly to as <base_amount> * <adjusted rate> = <reporting_currency_amount>.

In the transformation process the FACT_CURRENCY_RATES together with core dimension DIM_BI_TIME are used to create the fact FACT_REPORTING_CURRENCY_RATES that displays rate information per date. This fact is used by the models to handle reporting currency calculations.

Attributes

Attribute Description (where applicable)
ID

Measures

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Tabular Expression
Currency RateNNAverageYSUM([CURRENCY_RATE_ADJ])/DISTINCTCOUNT('CURRENCY RATES'[ID])

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name Product Area
ProcurementSupply Chain
SalesSupply Chain

Data source Information

The data source for this object is defined using IFS Developer Tool. The data source contains a number of transformations where the model reads data from the last step, i.e. the Data source view name (DW Source View Name).

Additional information can be found in the IFS cloud documentation of Information Sources.

Model Table DW Source view (SQL Server) BI Access View Referenced Information Source Recommended Access Type
CURRENCY RATESFACT_CURRENCY_RATES_TMFACT_CURRENCY_RATES_BIFACT_CURRENCY_RATESOn Line